package com.yxym.extend_;

public class Graduate {
    public int age;
    public String name;
    private double score;
    public void setScore(double score) {
        this.score = score;
    }
    public void test(){
        System.out.println("大学生 " + name + " 正在考试" );
    }
    public void showInfo(){
        System.out.println("大学生 " + name + " 正在考试" + " 年龄 " + age + " 分数 " + score );
    }

}
